package com.bosssoft.entity.po;

import com.baomidou.mybatisplus.annotation.*;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.Serializable;
import java.lang.reflect.Field;
import java.util.Date;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @author Li kexi
 * Created on 2021/8/19.17:28
 */
/**
    * 消息提示表
    */
@ApiModel(value="com-bosssoft-entity-po-FibNewsPO")
@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName(value = "fib_news")
public class FibNewsPO implements Serializable {
    /**
     * 消息id
     */
    @TableId(value = "news_id", type = IdType.ASSIGN_ID)
    @ApiModelProperty(value="消息id")
    private Long newsId;

    /**
     * 发信人
     */
    @TableField(value = "news_send")
    @ApiModelProperty(value="发信人")
    private String newsSend;

    /**
     * 收信人
     */
    @TableField(value = "news_receiver")
    @ApiModelProperty(value="收信人")
    private String newsReceiver;

    /**
     * 信件类型
     */
    @TableField(value = "news_type")
    @ApiModelProperty(value="信件类型")
    private Byte newsType;

    /**
     * 发送时间
     */
    @TableField(value = "news_time",fill = FieldFill.INSERT)
    @ApiModelProperty(value="发送时间")
    private Date createTime;

    /**
     * 阅读状态
     */
    @TableField(value = "news_reading")
    @ApiModelProperty(value="阅读状态")
    private Byte newsReading;

    /**
     * 消息内容
     */
    @TableField(value = "news_details")
    @ApiModelProperty(value="消息内容")
    private Byte newsDetails;

    /**
     * 版本号
     */
    @TableField(value = "version")
    @ApiModelProperty(value="版本号")
    private Integer version;

    private static final long serialVersionUID = 1L;
}